//
//  PlantSet+CRUD.h
//  PlotMate
//
//  Created by Brian Boyle on 01/04/2012.
//  Copyright (c) 2012 Brian Boyle. All rights reserved.
//

#import "PlantSet.h"

@interface PlantSet (CRUD)

+(NSArray *)addPlantNameToNSUserDefaults:(NSString *)plantName;
+(void)deletePlantNameFromNSUserDefaults:(NSString *)plantName;
+(NSMutableArray *)getPlantSetFromNSUserDefaults;
+(int)countPlantsPlantSetArray;
+(PlantSet *)createPlantSetWithName:(NSString *)name plants:(NSArray *)plantsArray inContext:(NSManagedObjectContext *)context;
+(void)deleteAllPlantSetFromNSUserDefaults;
+(NSArray *)getAllPlantSetsInContext:(NSManagedObjectContext *)context;
+(void)deletePlantSet:(PlantSet *)plantSet inContext:(NSManagedObjectContext *)context;

@end
